home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update16.zoo / FP_WARNING next >
Encoding:
Text File  |  1992-03-06  |  757 b   |  16 lines

  1. Here is a warning from michael about fp register usage:
  2.  
  3. in my mathlib, i didn't save any floating point registers. This is
  4. safe for the sfp since all the arithmetics on the 881 are done in the
  5. lib functions. Only assembler programmers who do their own
  6. sfp-arithmetics have to save their fp-registers before calling a
  7. sfp-lib function. I should have mentioned that in the readme.
  8.  
  9. Things are worse in the coprocessor lib, which is simply a translation of the 
  10. sfp stuff, i.e. without saving any fpu registers. If -m68881 is set, *all* 
  11. registers of the 881 must be declared
  12. -fcall-saved-fp0, ...-fp7, since i didn't save anything. This is meant as a 
  13. workaround until the fix to the problem will be available. I'm going to modify 
  14. my mathlib next weekend.
  15.  
  16.